package cn.javastack.springboot.knife4j.dto;

import lombok.Data;

import java.util.Date;

@Data
public class CityResDTO {

    private Long cityId;
    private String cityName;
    private double landArea;
    private long population;
    private double gross;
    private String cityDescribe;
    private String dataYear;
    private Date updateTime;

    public CityResDTO() {
    }

    public CityResDTO(Long cityId, String cityName, double landArea, long population, double gross, String cityDescribe, String dataYear, Date updateTime) {
        this.cityId = cityId;
        this.cityName = cityName;
        this.landArea = landArea;
        this.population = population;
        this.gross = gross;
        this.cityDescribe = cityDescribe;
        this.dataYear = dataYear;
        this.updateTime = updateTime;
    }

    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public double getLandArea() {
        return landArea;
    }

    public void setLandArea(double landArea) {
        this.landArea = landArea;
    }

    public long getPopulation() {
        return population;
    }

    public void setPopulation(long population) {
        this.population = population;
    }

    public double getGross() {
        return gross;
    }

    public void setGross(double gross) {
        this.gross = gross;
    }

    public String getCityDescribe() {
        return cityDescribe;
    }

    public void setCityDescribe(String cityDescribe) {
        this.cityDescribe = cityDescribe;
    }

    public String getDataYear() {
        return dataYear;
    }

    public void setDataYear(String dataYear) {
        this.dataYear = dataYear;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}

